<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul li{
            cursor: pointer;
        }
        #tab_content{
            width: 200px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            border:1px solid red;
            color:red;
        }
    </style>
</head>
<body>
    <div>
        <ul>
            <li>tab1</li>
            <li>tab2</li>
            <li>tab3</li>
            </ul>
    </div>
    <div id="tab_content">
      <p></p>
    </div>
   <script src="./js/jquery.min.js"></script>
   <script>
       $(document).ready(function(){
       $("li").click(function(){
       $('#tab_content').html($(this).html());
       });
       });
   </script> 
</body>
</html>